package cn.hxth.cloud.provider.updater;

/*
public class OutPutSteelsUpdater extends AbstractSteelsUpdater {
    private Map<Long,SteelsOutputOrderItem> map ;

    public OutPutSteelsUpdater(List<Steels> steelses,SteelsMapper steelsMapper , DateProvider dateProvider, Map<Long, SteelsOutputOrderItem> map) {
        super(steelses, steelsMapper, dateProvider);
        this.map = map;
    }


    @Override
    protected void updateInventory() {
        for(Steels steels:steelses){
            SteelsOutputOrderItem steelsOutputOrderItem = map.get(steels.getSid());
            steels.setInventory(steels.getInventory()-steelsOutputOrderItem.getCount());
        }
    }

    @Override
    protected void updateUseInventory() {

    }
}
*/
